package com.wpen.unit.cvt.job;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.BatchInfoPo;
import com.wpen.unit.web.dto.job.BatchInfoAddRequest;
import com.wpen.unit.web.dto.job.BatchInfoAddResponse;
import com.wpen.unit.web.dto.job.BatchInfoListRequest;
import com.wpen.unit.web.dto.job.BatchInfoListResponse;
import com.wpen.unit.web.dto.job.BatchInfoListRowsResponse;
import com.wpen.unit.web.dto.job.BatchInfoModRequest;
import com.wpen.unit.web.dto.job.BatchInfoModResponse;

/**
 * 批次信息转换类
 * 
 * @author pg
 *
 */
@Mapper
public interface BatchInfoCvt {
    BatchInfoCvt INSTANCE = Mappers.getMapper(BatchInfoCvt.class);

    BatchInfoPo queryListDto2Do(BatchInfoListRequest batchInfoListRequest);

    BatchInfoListResponse queryListDo2Dto(BatchInfoPo batchInfoPo);

    BatchInfoListRowsResponse queryListRowDo2Dto(BatchInfoPo batchInfoPo);


    BatchInfoPo addDto2Do(BatchInfoAddRequest batchInfoAddRequest);

    BatchInfoAddResponse addDo2Dto(BatchInfoPo batchInfoPo);


    BatchInfoPo modDto2Do(BatchInfoModRequest batchInfoModRequest);

    BatchInfoModResponse modDo2Dto(BatchInfoPo batchInfoPo);

}
